Update to save and load NPC factions