Added foreign keys for ref and new fields