updated index with ids and labels on form elements