Update models and migrations and add the workflow behavior