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