modify memcahed directory