new functions in player

added update functions for members in player class