update to cache and use active record