updated foundation to 5.0.2