Updating Smarty extension