In Mongodb I have two arrays in the same document which have common \'id\' field. I would like to merge these two matching on id\'s and update the time value when there is a