update register servlet