v3 proto: UpdateEqual, and a change in Generate

UpdateEqual plan execution is implemented.
Also, if we use Generate, we need to return the generated
value as the last InsertId.