added set sample to redis