Update metadata and errors