Update io.as to validate uid.