update metadata compare