Fix update command error