UI updates to sample