Update foundation and dependencies