Modift document path set function and update RenderRelativeImagePath(string url)