update UI prototype