update the UI and tools