upgrading foundation to 5.4.0