add originUrl method to asset