updated the validation elements of the html forms