1.1.2

Improving migration function
Refactoring