a system for programming an interactive learning device , such as electronic toy , using a web server includes a first processing unit having a web server for providing a control module used for remote processing , a second processing unit linked to the first processor through the communication medium to exchange data with the first processor , an interactive device , such as a robot toy pet , having at least a processor and a memory and adapted to communicate with the first processing unit . the interactive device includes a sensor for collecting data and formulating a learned module . the interactive device receives the control module from the first processing unit and sends the learned module . the control module is updated with more advanced function to be performed by the interactive toy in response to the content of the learned module .