dispatcher: add some debug logging for ds_update_state function