Update the sql syntax for the database