Added frame animations and the virtual update method