device add validate