update panic mode