updated sql data clean up