add communities relations