Smarty function asset - update