updated Smarty to version 3