Update code to be compatible with CMS after CMS changed save/read sharing logs interface