Update graph axis