Updated documentation of the update() method and changed the color variable names to better reflect what they represent.