update new code
Change database type & minor update