update matlab settings