Update gui and test