update ui (except write xml)