mex interface updated