update in matlab scripts