update the database
cleaning