upgrade machines and instancedata first