update definitions of stubs and shims