Update photo caching method