[m] fixed typo in sql update