Setup onUpgrade procedures

Whenever onUpgrade is called, since we don't really need to keep the data for now, it is set to drop the existing table and create a new one.