refresh of db generation script