Save reference to fields in through models