update sql connection