update factories