update row sequence