update register form and profile form