Updates y-axis ticks.