Create action for editing a note