Add of setters to attribute values to next (Set_next) and to photo(Set_photo)