Added --update-stack-if-exists flag