update common handler.