update
rewrite frame sequence