added error handling code when updating metadata.
insert a new metadata instance when a remote node requests
to update metadata if it doesn't exist on a local node.
revised the necessity check routine of metadata dissemination.
Merge branch 'metadata-update'