I was able to update the code using this command.
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle
However when I run react-native run-android it does not update the code.