update hook for app_dataset_id