update logic for cache

- on ImageLoader class from operation