closes #35 implement republish functionality