converted --update-id option into a command

- update diagnose __doc__
- refactored util/executor.py
- moved all update-id functions to commands/update.py
- still need to fix command structure of diagnose and search