update register information api