Change the local attributes to the agreed schema