updating ast output