update redis part 1