update bashrc and template for cpp