Updating API docs

Renaming Rank to Priority