edit and delete structure for specific rows in repo