Updating the hand movement.