preparing for publishing snapshot