Added data field to update_store in template_adapter