Bugfix for custom PK fields

Let database api escape values on `update_index`
Version bump