delete tag and editing notes correctly