How to update the mirror value of register

In reply to chr_sue:

It is resolved . The mirrored value is getting updated using predict() method. In my environment the comparison happens whenever read from that register happens.
So i updated the mirrored value before calling Read() method and it worked.