locations api call now updates existing locations or creates a new one if it is not there