Update smarty.