add redis flush and requirements update