Deal with work copy and keep cache up-to-date