add delete db method