start sql paches for matrix