Expanding and updating specification documents