prepare adding relationships