updating pirate attributes