changed some redis stuff to make it do hashes