Updated the data object attribute visibility to prevent changing required fields.