update DB after delete note