Fixed image_sha256 and noinput when upgrading