update notes controller