Changes in migration policy in situation of mass migration