Update structure. Set environment loading as needed.