misc update
update Smarty 3.1.21