Logstash Update a document in elasticsearch

I have updated like this but i am not getting proper results
filter {
csv {
separator => "|"
columns => ["NAME","ID","COUNTRYNAME","DATE","STATECODE", "G_NAME","G_ID","G_COUNTRYNAME","
G_DATE","G_STATECODE"]
}
mutate {
update => { "COUNTRYNAME" => "qqqqqqq" }
}

}