* begin, commit, rollback functions updated