update gui class