implement events on link creation