updating photo references