update path for request