begin to add register management
finish register management
update config