made some changes to the Canvas API wrapper to fix some bugs and keep it up to date with the latest API docs