Updated the character move functions