update duplex.* to new style