Made database schema updates transactional