Added an onUpdate callback function to FlxTween