add history, publish