Lists are updated in gui, but not entirely correctly