updates for updating notes in db