Update piratebadge.dart