update dirary