Update max speed of the player's body