set defaults on persist/insert