Changed argument in the if-statement in the update method, CharacterModel