updating rr code