change register string