updated time stuff, moved counts to redis