update to match new libmpdata++ API