updated API and intermediates.html