Update matlab solutions