updated migration classes

fixed missing typecast for Blueprint

Signed-off-by: Raf <7909000@gmail.com>