Work on delete database