UPDATE tablename  SET id = ROWNUM;