Update foundation to 5.2.2