update perms on links