add mariadb upgrade script