update panic handler