fix a bug and reduce messages if a value has not been updated