Update cordova stuff
Handle network errors better