Updating locationStartId and locationEndId