updated Ship class