udpate resources