Updating index redirect error