added updatedb script