added stock migration