changes in section update and index comparison, some structure change