Added transactional DB queries