# fx update-if-in-base | |
check if packages are in base and update the device if needed | |
```none | |
usage: fx update-if-in-base PACKAGE_NAME [PACKAGE_NAME]* | |
This command is to be used primarily by other commands, such as `fx test`. | |
NOTE: once the incremental workflow lands, `fx ota` should always | |
execute, and this command won't be needed anymore. | |
``` | |
[update-if-in-base source code](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/devshell/update-if-in-base) |