updated location notification request code