chapter 2 : udpate ResourceManager