update recovery config