emptying cache upon update
code and style
commenting simple codes