update autoscroll to clearer state, make publish work