update link logic
Merge branch 'master' of https://github.com/genome/dgi-db