models updated- foreign keys updated 2