made some changes in the update method in InGameMadel to complement the soon to come changes in characterController