added --updatenoconfirm flag