update bashrc function