update link js