commit before transferring to UnitGraph