Wrong syntax.  "for update" needs to be after the from... and where... clauses