update register add and home index