remove unused imports. remove update command and unused field names