Always helps to check the actual syntax of a command. All I did was a google search ‘mariadb update syntax’