implemented relative delay.
update a sample.