update samples/ui