int update_internals(WINDOW *win,struct simdata_t *simdata);