refactor entire of change introduced in video