updates the models(tables relationships,
check if they are correct