update everything and clean the database