added color and state to config table