Rearrange the update_resolv.sh creation

Change-Id: I957564161b9b48eea01e240d6ec9e9ec716157bb