update the gtk gui