locking and update deis-cache