update mocha definitions