refreshResIndex