use reids instead of postgres