update gui_main_update function, no js inject still...