update photos set unique_name = substring(local_path, 7);
