add note and edit