Debugging update not waiting