Updating index for require script