update data
rewrite script