updated to gui changes