update form sniffing mechanism