flush single document
increment version