Update number of ticks on the X axis of the graphs