changed the path of photo for clearing cache