Update query should be an UPDATE, not a SELECT.