Upgrade to v10 missing js files

Greetings,
I have just upgraded to v10 but i have encountered errors along the way.
One is the missing frappe.util.sanitise function, I temporarily remove the function and i was able to login. However upon login the desk wont show up because of a missing control.min.js.

I must have missed some steps, but after running again
bench update --requirements
and
bench update --build
it solved the problem