Change values only if needed.