update smarty