update path to resource