Update SQL Script for MariaDB