Update the number of opts