[Backend] fix insert method