Re-add update function

Some weirdness occurs with some applications without it unfortunately.