update foundation to 5.2.1