updated register class