update sp & sql connection