models updated- foreign keys updated