Hello I have an array of clients on an image object, like this:

```
{
        id: 1,
        path: "2013-02/12", 
        clients:
        [
            {
                    id: 321,
                    alias: "Test: audienceDev",
            }
        ],
},

```

The client object is updated elsewhere, I need to update the client object on this image object.

I have tried:

```
            $this->mongoDB->Image->update(
                array('clients.id' => (int) $document->id),
                array('$set' => array('client' => $document)),
                array('multiple' => true)
            );

```

and

```
            $this->mongoDB->Image->update(
                array('clients[].id' => (int) $document->id),
                array('$set' => array('client' => $document)),
                array('multiple' => true)
            );

```

Neither updates the client object on the image object.

Any suggestions?