implement PUT_LINKS