Remove used database and replace it with a fresh one