bash updates and pruning