updated pubspec with constraints