add support for restored pages/files on bot update