Complex redox behaviors of Ni substituted cuprates