update UI part 1