update to foundation 5.0.2