Updated the Location sample