updates to the x axis