The answer from Kalhara is correct if you know the position of the embedded document in your array, however there is an alternative approach that can be used to update the first matching array element without knowing the position.
Assuming you update with a single array in your query criteria, the positional operator (
$) can be used to refer to the matching array element:
// Match criteria
// Update first matching array element using the positional operator ($)