update frame animation and skeleanimation