Update viewdetails.tpl