update migration and model