recode the database helper

sqliteopen helper now only overrides oncreate and onupdate and shall be
used and shall be edited whenever needed