update ouput format