[CHORE] update foundation to 5.2