Update how factories work.