updates for matlab (on mac)