Correcting resource url in patch