saving current state before DRF upgrade