update references to cards in themselves+priority