update for mariadb 10