update cosim example