update x axis