update context events api consistent with derby changes