update migration procedure