update documentation to include getPermlink