Add unique_id on photo upload