update applet with certificate and cleanup the process