added script to auto update db