added an iframe onload so that the update postMessage can't get lost.