update matlab stuff