update metadata and check publishset