set the database back to what it was