logging only in case of actual update