upd substructures parsing