I need to update the element value in array but i am unable to do ..

I am using mongo Output step that will inserting the document in my collection.Also i am maintaining my log which file is processing .Lets suppose my job will be processed test.csv file then i am inserting id,filename and add a constant status 'Kettle is running' in my log collection.Now i want to update the status filed once my kettle job is completed like 'Kettle is completed' based on id.Also i have mentioned below my mongo structure and kettle structure


Name:  mongo.jpg
Views: 107
Size:  8.6 KB

Name:  output.jpg
Views: 106
Size:  11.5 KB

Anyone suggest me where i am doing wrong