Update matlab files