updates comments in module, observer, and singleton patterns