add auto migrations feature