add logging and fix infoupdate command