update register to rest