change behaviour of commit and rollback