cosim example update