update note based on value changes