update caches and configure raven error handler for sentry