Updates resource file