updates refresh ui