update resource dependencies