updates to repeat field and section functions