changed the database connection require links