update Smarty from v3.1.20 to v3.1.21