you don't seem to be using `seed` elsewhere... why don't just pass `SEED` to `update` below?