UI updates and new sample functions