updated register button