Updated bala to use deltatime