big update to all code files