use id or _id as primary key in save callback