adding update db script for ticks