change rails association reference