fixing updateMatCalendarInSN() to not use nativeSQL query