update batch script