fixed not updating index in section update