Manipulating the magnetic structure with electric fields in multiferroic ErMn2O5.