fix(modeling): properly update sourceRef/targetRef for associations

Related to #90