update days type detect