change file upload part and relative path of url