adjusted elasticsearch and redis AR to use BaseAR