update klass_previous_instances in active record adapter for deprecation