add time picker and db class updates