only set delay if it changed