updated upgrade instance method