add relation metadata model