updated output nb to new format