update resources file