Update to foundation 5.4.0