Edit register form