added delete for the animationconfig