key_commit: Update doc management on collections