update register file