Mf/pdt 4409

Add a row limit to UpdateProcessor, add flag in CLI tool, move shared functionality into UpdateProcessor.