Update resource file