update data clean up sql