Update XXX file and dir