adding animation sprites & autoupdate option for spritestates