test custom primary keys work with updates