before upgrade os