fix mkdir and update timeout