9: finish user edit, update index and destroy