Add update_configuration function

Sets up `PATH`, `MANPATH`, and `LD_LIBRARY_PATH` for shell env