Update source file with change to handle resource file refresh