update usercode