set things up for next update