if the industrial revolution increased production why did the laborers need to work such long hours weren't they producing more than before?

Yes, they were producing more than before. But at the same time, the demand increased much more -- therefore more goods were needed.