Only persisting when values change