Select rows and edit