You can place a linkbutton inside a template field & give it CommandName="MyUpdate"
. You can then check for the commandName on rowCommand
event of gridview & handle your custom update there.
if(e.CommandName =="MyUpdate")
{
// Perform your update
}