Update for new endpoint paths.

Updated functions where paths have changed. Entirely untested with the website, hence this PR!