update to get closer to gui