Systematic modulation of charge and spin ingraphene nanoribbons on MgO | Synapse