Better way of dealing with undefined attrs in update
Add explicit tests for unknown in condition