Added upgrade link and change function