updating json with new animation json