update EMGLLF.R and some few details