Update FieldGenerator.php