update res file