Updating environment and libraries