update resource path on server