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