Updated connection to SQL Server based