Welcome to FT, jav2222!
Since the flight is operated by Lufthansa, it's their rules that would apply. Star Alliance pretty much does everything by operator, not by marketing carrier. Perhaps you should ask a moderator to move this thread to the Lufthansa forum (cross-posting is against the rules) where people would have a better idea of Lufthansa's policies regarding paid upgrades.