update functionality for notes