added some validation to aspx version of updatelocation