Instead of using two ints you can use UpdateProgress directly, starting with `UpdateProgress.START`. To add a success you can do `p  = p.reduce(UpdateProgress.SUCCESS)` or `p  = p.reduce(UpdateProgress.FAILURE)` for a failure.