Addded logic to save the new url for a user uploaded product