mark photos as synced when successful