INKLESS-1485: update upgrade function to remove old urls before installi...

...ng new features to prevent multiple urls