Fixed pear upgrade