Added migrate content and bugfixes in PDF