Risk control of production line modification