Do the db cleanup after save the refresh results