Change value taking delay into account