fixed test_local_update
test_local_global and test_global_update running but not correctly