Added missing location id update