update migration to 0.5.0

started master slave dependencies for coming versions
update model to version 0.5.0

started adding master slave dependencies for later versions