Upgrade Foundation to 5.0