update animation replay.