updated mocha client