update axis range