Complete Note Editing Code