Update metadata and tracking code.