updated to work with latest Tumblr library