Update CreateDirectory