index function to add division row
update data
add division styles