diff --git a/main.py b/main.py
index 2ceea6bb5def4be4de2582a31310b97c56122963..8e3033234384f91ad69986b1e799714db81c3195 100644
--- a/main.py
+++ b/main.py
@@ -5,8 +5,8 @@ import threading
 import time
 
 import dash
-import dash_core_components as dcc
-import dash_html_components as html
+from dash import dcc
+from dash import html
 import paho.mqtt.client as mqtt
 import visdcc
 from dash.dependencies import Input, Output, State
diff --git a/requirements.txt b/requirements.txt
index 5cefdc0ff34da70524c6483d246c940986adab60..348442afe293ee5f25271292527488f0cd4c2f81 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,4 @@
-paho-mqtt~=1.5.1
-dash~=1.20.0
-visdcc~=0.0.40
-protobuf~=3.15.8
+paho-mqtt~=1.6.1
+dash~=2.3.1
+visdcc~=0.0.50
+protobuf~=3.20.0