Updated Metadata API checking code