finish user edit, update, index