add migrate version
fix flash message