assigning udid to created object