Update readHeader