syntax error: update table_tutorial SET viewed=1 where id=