add 'primary_key' attribute for field updates