bash script for auto bib update