update ast and st