maps and index changed