track deps of gen models