updated form type to url