Modulation of the magnetic properties in zigzag-edge graphene nanoribbons by connection sites