Implemented the ability to update labels and fixed color type.

Changed color type to int, previously it was string. This was incorrect.