wip something resonable on doc change