edit database connection