Added version checking
Added auto database updating