update tmpHandler