Updated the Animation Class