Update connection.dart