upload data and edit model in mixed model