add combined function to change ship attributes after upgrade