update animating the dom image