add API for dropping the database