split ssa updating code out to its own helper function. Don't bother