Update diagram location