To change a label select a vertex, press enter (the vertex turns orange) enter a number and then press enter again.