Method separated for adding entries to redis