fixed update issue due to terminalid