Separated registering and updating to correspond to the new announce API endpoint. Also added a verify_UID for JWT audience verification.