Update ping_for_window