update flash delay