Refactor delete helper to use modify API fun