update to foundation 4.0.7