update samples to use dynamics