Upgrade framework first and foremost