upgrade can only be done from init