updating batch job processing, not tested