updated transactional graph and unit test.