added handler for updating wait screens