fix: specify primary key when saving to SAPI