OV7670 writing to registers

I tried to include that

Wire.endTransmission();

and still it doesnt work. Im still getting the same reading even if I tried to write a new value.

Cheers,
vvavepacket