Make updateReg public