update to final L API

Updated, now actually goes through the provisioning process. Thank you Jonathan.