change device model and fix pin assignments