update the number of the themes