updated location query

updated location query