Memory-based online learning of simple object manipulation