Update smarty