Fixes issue #498 where `particle update` fails on Photon/P1
Fixes issue #498 where `particle update` fails on Photon/P1

spark/particle-cli,spark/particle-cli,spark/particle-cli,spark/particle-cli,spark/particle-cli,spark/particle-cli