adding location updater client code