Irreversible electrical manipulation of magnetization on BiFeO3-based heterostructures