updated connections class