modify collection doc