scrutinizer cleanup

- reduce code duplication via updateObject() method
- cleanup getPart()
- remove debug