diff --git a/content_entity_example/src/Entity/Contact.php b/content_entity_example/src/Entity/Contact.php
index b8e40d2..1436f28 100755
--- a/content_entity_example/src/Entity/Contact.php
+++ b/content_entity_example/src/Entity/Contact.php
@@ -217,10 +217,10 @@ class Contact extends ContentEntityBase implements ContactInterface {
       ->setLabel(t('Name'))
       ->setDescription(t('The name of the Contact entity.'))
       ->setSettings(array(
-        'default_value' => '',
         'max_length' => 255,
         'text_processing' => 0,
       ))
+      ->setDefaultValue('')
       ->setDisplayOptions('view', array(
         'label' => 'above',
         'type' => 'string',
@@ -237,10 +237,10 @@ class Contact extends ContentEntityBase implements ContactInterface {
       ->setLabel(t('First Name'))
       ->setDescription(t('The first name of the Contact entity.'))
       ->setSettings(array(
-        'default_value' => '',
         'max_length' => 255,
         'text_processing' => 0,
       ))
+      ->setDefaultValue('')
       ->setDisplayOptions('view', array(
         'label' => 'above',
         'type' => 'string',
