Prepare relasedocs