updated SQLhelper with delete and update methods