Added update for the player method.