Change register value