updated mutation conditional