fix deprecated syntax add connect-redis for production