updating to new index