Updating SQL management library

Mark's fix.