update display of permalink; closes #41