update validation rules, revert id in html markup