updated some files to latest version from fieldtrip