fix plugins and apps to use the new rest api