update output control to handle serialization