update emmit command