Updating height modifier based on max