It is not possible to automatically update the color (or any other property) of an edge when you change one of the edge's custom property values. The best you can do is to create a properties mapper configuration that sets edge colors based on the values your custom property and manually run the properties mapper each time you change your custom property's value.