update linker direktori javascript + confirm delete