Perception-action learning as an epistemologically-consistent model for self-updating cognitive representation