refresh upload photo bug