I'm not quite sure. There's multiple scenarios here. If we upload your consciousness into a computer and you're still alive, then there's multiple entities. If we replace your organs with machinery over time, then there is only a single entity that is changing. The latter is like the ship, but the former is not.