remove blocking code into upgrade file of Orm module