do not do upgrade twice