update signal handler