update references when renaming+priority