updated some form code