refresh ui & bookkeeping