Updated assets sample to use new assets functionality