Update foundation to 5.3.1