changed conditional in the add_details method so no error is thrown if no property details.