update quota on directory optimization