update batch function
Merge branch 'master' of https://github.com/plansys/plansys