Update input table, add coloring