Fixed bug in note updates