Updated basic transactional example