implement transaction count through model and content provider; update id of instances after first save