working on updateNote from detailView