ancient upgrade cors