completed edit/update row functionality