set flag if user upload photo