Updated the jumping mechanisme of the player