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