only updating account values if they are diffferent