update resource_doc