updates testing and sample