fixed update and collection_name