remove value=register and update input to html5