Update number of sections