some database connection changes