* added a method to update the content of the applet