fix to update notes table when save pressed.