update exceptions handler