Added relationships between elements and adjust color model