more work on updating debug