updated detinationDB context in UpdateMetadata

@anguss00 could you review this one pls, 
Cheers, bene