update resource path