Added upgrade procedures