updating resource file