update simple 3 m-files