add ignore-update-error and upgrade options