Update emain_master.c file