completed handler updated