added player update method