Dev ver 8 upgrade error

switched to dev from current ver 7 to test ver 8.

ran bench switch-to-develop
ran bench update --patch
upon completion the error logs are filled with this:

{‘retry’: 0, ‘log’: <function log at 0x28f88c0>, ‘site’: u’’, ‘event’: None, ‘method_name’: u’frappe.utils.global_search.update_global_search’, ‘method’: <function update_global_search at 0x28f9320>, ‘user’: u’Administrator’, ‘kwargs’: {‘doc’: <frappe.core.doctype.defaultvalue.defaultvalue.DefaultValue object at 0x27b4050>}, ‘async’: True, ‘job_name’: u’frappe.utils.global_search.update_global_search’}
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/”, line 61, in execute_job
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/”, line 46, in update_global_search
for field in doc.meta.get_global_search_fields():
AttributeError: ‘Meta’ object has no attribute ‘get_global_search_fields’

Seems like your frappe repository dit not get latest updates, might be due to local changes. Please check and run bench update again.