udpate resource dependency