update with UI elements