update UI with new layout