added color to js update