init on migrate