Default change device id then unroot?

Hi all
this is my first thread I have searched for this topic and couldn't find any answers
if I was to change my device id then unroot the phone to get updates would it work?? Has anyone even tried??
I need to do this cos Google has blocked my device