add dividers to each section and update type