Update factory_py