add route to api for inserting on off pairs