updated form for register view