database connection updated