update axis change determination

I'm not sure yet if I want to pass in the axes or get them from the
object keys.