A method of refreshing a semiconductor device such as a VSRAM. The security application is activated by an operator of the device and is configured to cause the device to display an outline image. An electrode metal 40 is then deposited and etched back to fill the recess 38 and form biocompatible electrode 42. There is at least one supply channel for introducing a working medium to the toroidal working chamber. A technique for patching an XML document is also provided.