add useragent field & set index