updating old photo flag to 0