diff --git a/roles/bookstack/defaults/main.yml b/roles/bookstack/defaults/main.yml
index e80839b..96ffd52 100644
--- a/roles/bookstack/defaults/main.yml
+++ b/roles/bookstack/defaults/main.yml
@@ -1,11 +1,11 @@
 ---
 
 # Version to deploy
-bookstack_version: '22.04.2'
+bookstack_version: '22.06'
 # URL of the arhive
 bookstack_archive_url: https://github.com/BookStackApp/BookStack/archive/v{{ bookstack_version }}.tar.gz
 # Expected sha256 of the archive
-bookstack_archive_sha256: 649a422f95ecad47d430eea88ffa656bcd15debd864ea30d5cc9c8f9cc88ac9f
+bookstack_archive_sha256: 1c8a8afee7df3e628ff83224bc62a7b5de69689fd67996cf0742e6220bd5e589
 
 # Should ansible handle bookstack upgrades or just the inintial install
 bookstack_manage_upgrade: True
diff --git a/roles/bookstack/templates/env.j2 b/roles/bookstack/templates/env.j2
index c94a281..69090f3 100644
--- a/roles/bookstack/templates/env.j2
+++ b/roles/bookstack/templates/env.j2
@@ -25,7 +25,7 @@ APP_PROXIES={{ bookstack_trusted_proxies | join(',') }}
 {% endif %}
 QUEUE_CONNECTION=database
 {% for key in bookstack_settings.keys() | list %}
-{{ key }}="{{ bookstack_settings[key] }}"
+{{ key }}={{ (bookstack_settings[key] is search('^(true|false)$')) | ternary(bookstack_settings[key], '"' ~ bookstack_settings[key] ~ '"') }}
 {% endfor %}
 {% if bookstack_pdf_exporter == 'wkhtmltopdf' %}
 WKHTMLTOPDF=/usr/local/bin/wkhtmltopdf
diff --git a/roles/diagrams/defaults/main.yml b/roles/diagrams/defaults/main.yml
index 6b3a120..9dbe1c6 100644
--- a/roles/diagrams/defaults/main.yml
+++ b/roles/diagrams/defaults/main.yml
@@ -1,11 +1,11 @@
 ---
 
 # Veresion of diagrams to deploy
-diagrams_version: 18.0.2
+diagrams_version: 20.0.3
 # URL of the WAR file to deploy
 diagrams_war_url: https://github.com/jgraph/drawio/releases/download/v{{ diagrams_version }}/draw.war
 # Expected sha256 of the WAR file
-diagrams_war_sha256: 1e8f0b57a0748c5945d8bcce0314e05b6946035b3135ed303a2b886eaf18f51b
+diagrams_war_sha256: d552bfda92066340ee76e60ba13bcb1fa1270dd95ebf31f676935cb2470c2e17
 # root directory of the installation
 diagrams_root_dir: /opt/diagrams
 # Should ansible manage upgrades, or just initial install ?
diff --git a/roles/unifi/defaults/main.yml b/roles/unifi/defaults/main.yml
index 027dda7..ecdc01b 100644
--- a/roles/unifi/defaults/main.yml
+++ b/roles/unifi/defaults/main.yml
@@ -3,11 +3,11 @@
 # Where unifi will be installed
 unifi_root_dir: /opt/unifi
 # Version to deploy
-unifi_version: 7.1.65
+unifi_version: 7.1.66
 # URL to get the installation tarball
 unifi_archive_url: https://www.ubnt.com/downloads/unifi/{{ unifi_version }}/UniFi.unix.zip
 # Expected sha256
-unifi_archive_sha256: 90eab24e4661f8e4e1b0630b6ad12603152ea17f3741579a2e9f0ce0da8105ef
+unifi_archive_sha256: c2e777164eccbe9db35164438a4907138dae72a4d8c1540ed54f185a81826709
 # Should ansible handle upgrades (if False, only initial install will be done)
 unifi_manage_upgrade: True
 # List of ports used by UniFi controler