Format
Fix the bug that downloaded photos will be marked not downloaded when updating photos