editing notes working with core data