update to gui