Fix bug in creating default fields in update process