Documented the four color variables and added comments to the update() method.