added on_new_note trigger, delete_note, changed add_note schema