add blockrecord joint table and associations