Minor SQL update