updating the collection metadata