update UI in new.html