updates for latest foundation version