object passing to create/update Directory