update number of ships