update library and update colour text box with model value