update axis scale