Update bat script with dump and update mode