relating objects done. Fixing photos update issue