add gui to automatically update