Replace path