intermediate update while fixing bugs related to the running and jumping state of the avatar