Added $setAsDefault - if value is undefined on update, set the given value