update bat file mode