updated confighandler