Coevolution of Glauber-like Ising dynamics and topology