Update locationAction.js