fixed updated location method