fixed insert endpoint