remove old upgrade logic