add script to update db