Apex: updates cache to unique name