Changes fk reference to new table name.