updated assign d location