global update
remove Smarty

to old realization