update register layout