updates to metadata db