Add UpdateDB snippet for indexing IP field.