#1 - Making update processing task generic. also changing quantity to
long