Smarty plugin update