Update create directory