modify endpoints for createBinary