update output headers