finish update ui