Publishing snapshots and updating doc.